package com.crane.framework.dto;

import com.crane.framework.dto.common.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class OrgUserPageDTO extends PageDTO {
  @Schema(description = "组织ID")
  @NotBlank(message = "组织ID不能为空")
  private String orgId;

  @Schema(description = "用户名")
  private String username;

  @Schema(description = "手机号")
  private String phone;

  @Schema(description = "昵称")
  private String nickname;

  @Schema(description = "性别")
  private String sex;

  @Schema(description = "真实姓名")
  private String realName;

  @Schema(description = "邮箱")
  private String email;

  @Schema(description = "身份证号")
  private String idCard;
}
